Skip to content

Instantly share code, notes, and snippets.

// $ cc -o checker checker.c
// $ ./checker
// $ ffmpeg -i output-%02d.ppm -r 60 output.mp4
#include <stdio.h>
int main()
{
char buf[256];
for (int i = 0; i < 60; ++i) {
snprintf(buf, sizeof(buf), "output-%02d.ppm", i);
@jlmurdoch
jlmurdoch / openwrt-vdsl2-lantiq.md
Created June 5, 2025 12:26
Quick guide to setting up OpenWRT with a Lantiq VDSL2 modem

OpenWRT VDSL2 Setup

Introduction

For those without a fibre connection, VDSL2 is the only viable alternative for a wired home connectivity.

This guide goes through setting up VDSL2 for PlusNet with custom firmware on OpenWRT.

Prerequisites

@natesubra
natesubra / disable_mitigations.md
Last active December 29, 2025 15:44
ESXI Homelab Disable Spectre/Meltdown/SSBD

ESXI Mitigations Disable

I recommend this only be done on homelab/segmented hardware. This will make your host vulnerable to these exploits.

Depending on your CPU generation, you can regain 20-30% performance.

Spectre/Meltdown

Ref1

@dPacc
dPacc / private_docker_registry.md
Created January 23, 2025 05:07
Self Host Private Docker Registry
@0xjac
0xjac / private_fork.md
Last active December 29, 2025 15:42
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare git@github.com:usi-systems/easytrace.git

@ivandevp
ivandevp / lms-git-conventions.md
Last active December 29, 2025 15:35
Git conventions followed by LMS dev team.
@PrinceSinghhub
PrinceSinghhub / DSA Calendar 2026 | Plan of Action.md
Last active December 29, 2025 15:32
Everything from 0 to Advance | DSA Calendar 2026 | Plan of Action

DSA Calendar 2026 | Plan of Action 🔥

DSA is no longer about solving random sheets or memorizing solutions. It’s about a clear, structured, and realistic approach from absolute beginner to interview-ready Candidate.

  • How to start DSA from zero (even if you don’t know coding)
  • When to focus on language basics vs DSA
  • A 3-phase preparation strategy used by serious engineers
  • Exact timelines for topics, patterns, and problem counts
  • Why 300–400 problems ≠ success (and what actually matters)
@Klerith
Klerith / testing-configuration.md
Last active December 29, 2025 15:32
Configuración de Vitest + React Testing Library
@adamawolf
adamawolf / Apple_mobile_device_types.txt
Last active December 29, 2025 15:23
List of Apple's mobile device codes types a.k.a. machine ids (e.g. `iPhone1,1`, `Watch1,1`, etc.) and their matching product names
i386 : iPhone Simulator
x86_64 : iPhone Simulator
arm64 : iPhone Simulator
iPhone1,1 : iPhone
iPhone1,2 : iPhone 3G
iPhone2,1 : iPhone 3GS
iPhone3,1 : iPhone 4
iPhone3,2 : iPhone 4 GSM Rev A
iPhone3,3 : iPhone 4 CDMA
iPhone4,1 : iPhone 4S
@LoueeD
LoueeD / bsky-comments.js
Last active December 29, 2025 15:23
bluesky comments web component - inspired by emilyliu and coryzue
// Moved to a github repo for versioning, the file can now be loaded from a CDN
// <script type="module" src="https://esm.sh/gh/loueed/bsky@v1.0.0/comments"></script>
class BskyComments extends HTMLElement {
constructor() {
super();
this.attachShadow({ mode: "open" });
this.visibleCount = 3;
this.thread = null;
this.error = null;